GameInputElement Class

Manages an element of a GameInputDevice. Not supported on Linux.

Events

None

Properties

Device

Name

Value


Methods

None

More information available in parent classes: Object


Notes

A GameInputElement is a control on an input device used for gaming (or general user input via the keyboard and mouse). For example, the Fire button on a joystick control is an element, as are the standard mouse button and each of the keys on a keyboard. The Element method of the GameInputDevice class give you access to the elements of a specified device. You use the WaitForElement method of the GameInputManager class to detect input from an element.


Example

See the examples for GameInputManager.


See Also

GameInputDevice, GameInputManager classes.